package model

import "gorm.io/gorm"

type ChatRecord struct {
	gorm.Model
	ConsultId int    `gorm:"type:int;not null; comment:'问诊ID'"`
	SendId    int    `gorm:"type:int;not null; comment:'发送者'"`
	Content   string `gorm:"type:text;comment:'文字内容'"`
	Image     string `gorm:"type:varchar(150);comment:'图片消息地址'"`
	MsgType   string `gorm:"type:int;comment:'0-文字,1-图片'"`
}
